package com.computergames.server.service.Implement;

import com.computergames.server.service.Interface.GameMessageHandlerFactory;
import com.computergames.server.service.Interface.GameStorage;
import com.computergames.server.service.Interface.RuleDetermination;
import org.springframework.stereotype.Service;

@Service
public class GobangMessageHandlerFactory implements GameMessageHandlerFactory {
    @Override
    public RuleDetermination getRuleDetermination() {
        return GobangRuleDetermination.getInstance();
    }

    @Override
    public GameStorage getGameStorage() {
        return GobangStorage.getInstance();
    }
}
